⛔ Terminate
The Terminate action is used to stop the Pageflows execution immediately with a specified status, code, and message. It is commonly used to handle error situations or to explicitly end a Pageflows.
Configuration
- Status: Select the termination status. Common options include:
- Succeeded
- Failed
- Cancelled
- Code: Enter an error or termination code to provide context for the termination.
- Message: Enter a descriptive error message or explanation for why the Pageflows is being terminated.
Features
- Immediately stops Pageflows execution.
- Allows specifying detailed termination status.
- Supports providing error codes and messages for clarity.
- Useful for error handling and controlled Pageflows endings.
Use Cases
- Stop a Pageflows when a critical error occurs.
- Terminate a Pageflows with a failure status after validation fails.
- Cancel Pageflows explicitly based on certain conditions.
- Provide meaningful error codes and messages for debugging.
Notes
- Use termination thoughtfully to avoid unexpected Pageflows halts.
- Ensure error codes and messages are descriptive for easier troubleshooting.
- Terminate action ends all subsequent Pageflows steps.
Tip: Combine Terminate with conditional logic to gracefully handle errors and exit points in your Pageflows.